3  Chapter 2 Exercise Solutions

3.1 Solution to Exercise 2.2

  1. There are 3 possible prizes in each of 3 boxes, so there are \(3^3 = 27\) possible outcomes.
  2. See Table 3.1 (ignore \(X\) and \(Y\) columns for now); there are 27 rows, each row for a different possible outcome.
Table 3.1: Sample space for Exercise 2.2
box1 box2 box3 X Y
1 1 1 1 3
2 1 1 2 2
3 1 1 2 2
1 2 1 2 2
2 2 1 2 1
3 2 1 3 1
1 3 1 2 2
2 3 1 3 1
3 3 1 2 1
1 1 2 2 2
2 1 2 2 1
3 1 2 3 1
1 2 2 2 1
2 2 2 1 0
3 2 2 2 0
1 3 2 3 1
2 3 2 2 0
3 3 2 2 0
1 1 3 2 2
2 1 3 3 1
3 1 3 2 1
1 2 3 3 1
2 2 3 2 0
3 2 3 2 0
1 3 3 2 1
2 3 3 2 0
3 3 3 1 0

3.2 Solution to Exercise 2.3

See the sample space \(\Omega\) of 27 possible outcomes in Table 3.1.

  1. \(A_1^c = \{222, 223, 232, 322, 233, 323, 332, 333\}\) is the event that none of the boxes contain prize 1, so \(A_1\) consists of the \(27-8 = 19\) other outcomes.
  2. \(B_1 = \{111\}\)
  3. \(A_1 \cap A_2 \cap A_3 = \{123, 132, 213, 231, 312, 321\}\) is the event that at least one of each prize is obtained (that is, a complete set of prizes)
  4. \(A_1 \cup A_2 \cup A_3 = \Omega\), the set of all possible outcomes; you have to get at least 1 of one of the prizes.
  5. \(B_1 \cap B_2 \cap B_3=\emptyset\); you can’t get only prize 1 and only prize 2
  6. \(B_1 \cup B_2 \cup B_3 = \{111, 222, 333\}\) is the event you only obtain one of the prizes (in every box)

3.3 Solution to Exercise 2.4

See Figure 3.1

  1. Figure 3.1 (a): \(A\), Katniss’s dart lands within 1 inch of the center of the dartboard.
  2. Figure 3.1 (b): \(B\), Katniss’s dart lands more than 1 inch but less than 2 inches away from the center of the dartboard.
  3. Figure 3.1 (c): \(E\), Katniss’s dart lands within 1 inch of the outside edge of the dartboard.
(a) Within 1 inch of center
(b) More than 1 but less than 2 inches from center
(c) Within 1 inch of edge
Figure 3.1: Events in Exercise 2.4

3.4 Solution to Exercise 2.6

  1. See Table 3.1
  2. The possible values of \(X\) are \(\{1, 2, 3\}\)
  3. The possible values of \(Y\) are \(\{0, 1, 2, 3\}\)
  4. The possible \((X, Y)\) pairs are \(\{(1, 0), (1, 3), (2, 0), (2, 1) (2, 2), (3, 1)\}\), In particular, the following pairs are NOT possible: \((1, 1), (1, 2), (2, 3), (3, 0), (3, 2), (3, 3)\)
  5. \(\{X = 1\} = \{111, 222, 333\}\) is the event that only one distinct prize is obtained (that is, you get the same prize in every box)
  6. \(\{X=2\}\) is the event you get two distinct prizes, which consists of 18 putcomes. It’s easier to write \(\{X = 2\}^c = \{111, 222, 333, 123, 132, 213, 231, 312, 321\}\).
  7. \(\{X = 3\} = \{123, 132, 213, 231, 312, 321\}\) is the event that you get all 3 prizes; that is, the event that you get the complete set
  8. \(\{Y = 0\}=\{222, 223, 232, 322, 233, 323, 332, 333\}\) is the event that none of the boxes contain prize 1
  9. \(\{Y = 1\}=\{122, 123, 132, 133, 212, 213, 312, 313, 221, 231, 321, 331\}\) is the event that exactly one of the boxes contains prize 1
  10. \(\{Y = 2\}=\{112, 113, 121, 131, 211, 311\}\) is the event that exactly two of the boxes contain prize 1.
  11. \(\{Y = 3\}=\{111\}\) is the event that all three of the boxes contain prize 1.
  12. \(\{X = 2, Y = 1\} = \{122, 133, 212, 313, 221, 331\}\) is the event that one box contains prize one and the other two boxes contain either both prize 2 or both prize 3.
  13. \(\{X = Y\} = \{112, 113, 121, 131, 211, 311\}\) is the event that the number of boxes that contain prize 1 is equal to the number of distinct prizes obtained (in this case it only happens if both \(X\) and \(Y\) equal 2)
  14. Let \(I_1\) be the indicator random variable that prize 1 is obtained (in at least one of the three packages). Identify and intepret \(\{I_1 = 0\}\).
  15. \(X = I_1+ I_2+ I_3\)
  16. Label the boxes instead of the prizes. Let \(J_1\) be the indicator random variable that box 1 contains prize 1, \(J_2\) that box 2 contains prize 1, and \(J_3\) that box 3 contains prize 1. Then \(Y = J_1+ J_2+ J_3\).

3.5 Solution to Exercise 2.7

  1. Figure 3.1 (a): \(\{X \le 1\}\), Katniss’s dart lands within 1 inch of the center of the dartboard.
  2. Figure 3.1 (b): \(\{1 < X < 2\}\), Katniss’s dart lands more than 1 inch but less than 2 inches away from the center of the dartboard.
  3. Figure 3.1 (c): \(\{X > 11\}\), Katniss’s dart lands within 1 inch of the outside edge of the dartboard.
  4. \(\{X = 0\}\), the event that the dart hits exactly in the center, is just the single point in the center
  5. \(\{X = 1\}\), the event that the dart hits exactly 1 inch from the center, is the circle with radius 1 inch (the outside egde of the shaded region in Figure 3.1 (a))

3.6 Solution to Exercise 2.10

The latest series of collectible Lego Minifigures contains 3 different Minifigure prizes (labeled 1, 2, 3). Each package contains a single unknown prize. Suppose we only buy 3 packages and we consider as our sample space outcome the results of just these 3 packages (prize in package 1, prize in package 2, prize in package 3). For example, 323 (or (3, 2, 3)) represents prize 3 in the first package, prize 2 in the second package, prize 3 in the third package. Suppose that each package is equally likely to contain any of the 3 prizes, regardless of the contents of other packages, so that there are 27 equally likely outcomes, and let \(\textrm{P}\) be the corresponding probability measure.

  • Let \(A_1\) be the event that prize 1 is obtained—that is, at least one of the packages contains prize 1—and define \(A_2, A_3\) similarly for prize 2, 3.
  • Let \(B_1\) be the event that only prize 1 is obtained—that is, all three packages contain prize 1—and define \(B_2, B_3\) similarly for prize 2, 3.
  1. Compute \(\textrm{P}(A_1)\)

  2. Compute \(\textrm{P}(B_1)\)

  3. Interpret the values from parts 1 and 2 as long run relative frequencies.

  4. Interpret the values from parts 1 and 2 as relative likelihoods.

  5. Compute \(\textrm{P}(A_1 \cap A_2 \cap A_3)\)

  6. Compute \(\textrm{P}(A_1 \cup A_2 \cup A_3)\)

  7. Compute \(\textrm{P}(B_1 \cap B_2 \cap B_3)\)

  8. Compute \(\textrm{P}(B_1 \cup B_2 \cup B_3)\)

  9. \(A_1^c = \{222, 223, 232, 322, 233, 323, 332, 333\}\) is the event that none of the boxes contain prize 1, so \(A_1\) consists of the \(27-8 = 19\) other outcomes. Since the outcomes are equally likely, \(\text{P}(A_1) = 18/27=0.667\).

  10. There is only one outcome that satisfies \(B_1\) so \(\text{P}(B_1) = 1/27 = 0.037\).

  11. Over many sets of 3 boxes, about 66.7% of sets of 3 boxes will contain at least one prize 1, and about 3.7% of sets of 3 boxes will contain only prize 1.

  12. It is 18 times more likely to obtain at least one prize 1 than it is to obtain only prize 1. Also, it is 2 times more likely to obtain at least one prize 1 than to not obtain it (18/9), and it is 26 times less likely to obtain only prize 1 than it is to obtain any other collection of prizes.

  13. \(A_1 \cap A_2 \cap A_3 = \{123, 132, 213, 231, 312, 321\}\) is the event that at least one of each prize is obtained (that is, a complete set of prizes) so \(\textrm{P}(A_1 \cap A_2 \cap A_3) = 6/27 = 0.222\)

  14. \(A_1 \cup A_2 \cup A_3 = \Omega\), the set of all possible outcomes; you have to get at least 1 of one of the prizes so \(\textrm{P}(A_1 \cup A_2 \cup A_3) = 1\)

  15. \(B_1 \cap B_2 \cap B_3=\emptyset\); you can’t get only prize 1 and only prize 2, so \(\textrm{P}(B_1 \cap B_2 \cap B_3) = 0\)

  16. \(B_1 \cup B_2 \cup B_3 = \{111, 222, 333\}\) is the event you only obtain one of the prizes (in every box), so \(\textrm{P}(B_1 \cup B_2 \cup B_3) = 3/27 = 0.111\)

3.7 Solution to Exercise 2.13

Since the dart lands uniformly at random anywhere on the dartboard, probabilities are computed as the ratio between the area corresponding to the event of interest divided by the area of the total dartboard (\(12^2\pi\))

See Figure 3.1. Find the area of the shaded pieces by subtracting areas of circles.

  1. \(\text{P}(X \le 1) = \frac{1^2\pi}{12^2\pi} = 1/144 = 0.00694\)
  2. \(\text{P}(1 < X < 2) = \frac{2^2\pi - 1^2\pi}{12^2\pi} = 3/144 = 0.021\)
  3. \(\text{P}(X > 11) = 1 - \frac{11^2\pi}{12^2\pi} = 1 - (11/12)^2 = 0.160\)

3.8 Solution to Exercise 2.14

Since the dart lands uniformly at random anywhere on the dartboard, probabilities are computed as the ratio between the area corresponding to the event of interest divided by the area of the total dartboard (\(12^2\pi\))

Find the area of the events of interest by finding areas of corresponding circles and subtracting as needed.

  1. \(\textrm{P}(X \le 0.1) = \frac{0.1^2\pi}{12^2\pi} = (0.1/12)^2 = 0.0000694\)
  2. \(\textrm{P}(X \le 0.01) = \frac{0.01^2\pi}{12^2\pi} = (0.01/12)^2 = 0.000000694\)
  3. \(\textrm{P}(X = 0) = 0\), the single point has no area
  4. \(\textrm{P}(X \ge 11.9) = 1 - \frac{11.9^2\pi}{12^2\pi} = 1 - (11.9/12)^2 = 0.0166\)
  5. \(\textrm{P}(X \ge 11.99) = 1 - \frac{11.99^2\pi}{12^2\pi} = 1 - (11.99/12)^2 = 0.00166\)
  6. \(\textrm{P}(X = 12) = 0\), the circle representing the outside edge has no area
  7. Well, both of these events—the dart lands exactly in the center and the darts lands exactly on the edge—have 0 probability. However for practical purposes we would never be interested in probabilities like \(\textrm{P}(X = 0.000000000\ldots)\) or \(\textrm{P}(X = 12.000000000\ldots)\) with infinite precision.
  8. However we define “close to”—within 1 inch or within 0.1 inch or within 0.01 inch, etc—the dart is more likely to land close to the edge than close to the center.

3.9 Solution to Exercise 2.16

  1. Suppose there are 1000 questions on the test. (That’s a long test! But remember, 1000 is just a convenient round number.) We can classify each question by its type (know, eliminate, guess) and whether we answer it correctly or not. The probability that we answer a question correctly is 1 given that we know it, 0.5 given that we can eliminate two choices, or 0.25 given that we guess randomly.

    Know Eliminate Guess Total
    Correct 700 100 25 825
    Incorrect 0 100 75 175
    Total 700 200 100 1000

    The probability that we answer a randomly selected question correctly is 825/1000 = 0.825.

  2. The overall probability of answering a question correctly is closer to 1 than 0.5 or 0.25. To construct the table and obtain the value 0.825, we basically did the following calculation

    \[ 0.825 = (1)(0.7) + (0.5)(0.2) + (0.25)(0.1) \]

    We see that the overall probability, 0.825, is a weighted average of the case-by-case probabilities 1, 0.5, and 0.25, where 1 gets the most weight in the average because there is a higher percentage of questions that we know.

3.10 Solution to #exr-ltp-rats

  1. Most people produce a sequence that has 30 G’s and 10 R’s, or close to those proportions, because they are trying to generate a sequence for which each outcome has a 75% chance for G and a 25% chance for R. That is, they use a strategy in which they predict G with probability 0.75, and R with probability 0.25.
  2. There are two cases: the true flash is either green (with probability 0.75) or red (with probability 0.25). Given that the flash is green, your probability of correctly predicting it is 0.75 (because your probability of guessing “G” is 0.75). Given that the flash is red, your probability of correctly predicting it is 0.25 (because your probability of guessing “R” is 0.25). Use the law of total probability to find the probability that your prediction is correct: \((0.75)(0.75) + (0.25)(0.25) = 0.625\).
  3. Just pick G every time! Picking green every time has a 0.75 probability of correctly predicting any flash. When events are independent, trying to guess the pattern doesn’t help.

3.11 Solution to Exercise 2.19

  1. Let \(D\) be the probability that the original microorganism dies after the first minute; \(\textrm{P}(D) = 1/4\). Condition on the first “step” and use the law of total probability \[ p = \textrm{P}(E) = \textrm{P}(E|D)\textrm{P}(D) + \textrm{P}(E|D^c)\textrm{P}(D^c) = (1)(1/4) + \textrm{P}(E|D^c)(3/4) \] \(\textrm{P}(E|D) = 1\) since if the first microorganism dies the population goes extinct immediately.

    The key is to find an expression for \(\textrm{P}(E|D^c)\) in terms of \(p\). If the first microorganism does not die (\(D^c\)) there are 2 microorganisms at the start of the second minute; let’s call them Marge and Homer. In order for the population to go extinct, we need Marge and all her descendants to go extinct, and the same for Homer. But Marge is just a single microorganism, so the probability that her line eventually goes extinct is \(p\); similarly the probability that Homer’s line goes extinct is \(p\). Since all microorganisms behave independently, the probability that both Marge and Homer’s lines eventually go extinct is \((p)(p)=p^2\). That is, \(\textrm{P}(E | D^c) = p^2\).

    Plugging into the equation above yields \[ p = (1)(1/4) + p^2(3/4) \]

    Solve (quadratic formula) this equation to get1 \(p= 1/3\). The probability that the population eventually goes extinct is 1/3. This microorganism population is 2 times more likely to survive forever than to go extinct!

  2. The process is the same as the above, with 3/4 replaced by \(s\) \[ p = (1)(1-s) + p^2s \] Solving gives two solutions, 1 and \(1/s - 1\). However, if \(s<1/2\) then \(1/s - 1 > 1\), which is not a valid probability. Therefore the probability of eventual extinction is 1 if \(s \le 1/2\), and \(1/s - 1<1\) if \(s > 1/2\).


  1. Technically, there are two solutions, 1 and \(1/3\). There are some technical justifications that can be made to show that the extinction probability is the smaller of the two solutions, but this is beyond our scope.↩︎